// We require the Hardhat Runtime Environment explicitly here. This is optional
// but useful for running the script in a standalone fashion through `node <script>`.
//
// When running the script with `hardhat run <script>` you'll find the Hardhat
// Runtime Environment's members available in the global scope.
const hre = require("hardhat");

async function main() {
  // Hardhat always runs the compile task when running scripts with its command
  // line interface.
  //
  // If this script is run directly using `node` you may want to call compile
  // manually to make sure everything is compiled
  // await hre.run('compile');

  // We get the contract to deploy
  const EIDOSFUNDS = await hre.ethers.getContractFactory("EIDOSFUNDS");
  const greeter = await EIDOSFUNDS.deploy([
    "0x50df4824be570270d4464d63b5d35712631b22ea",
    "0x5BA07EEE0DE39A01cD97207F7f662Bd2e95193bf",
    "0x9690899Fd185fdf3275Df04bbF3f6EBE1D026cF0",
    "0x19352BdF69F1502De8C2d94F873143abC9f1A795",
  ]);

  await greeter.deployed();

  console.log("Greeter deployed to:", greeter.address);
}

// We recommend this pattern to be able to use async/await everywhere
// and properly handle errors.
main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error);
    process.exit(1);
  });
